public class retangle extends picture{
    @Override
    public void drow() {
        super.drow();
    }
    private double l;
    private double w;
    public void areas(){
        double s=l*w;
        System.out.printf("%n%.2f",s);
    }

    public double getL() {
        return l;
    }

    public void setL(double l) {
        this.l = l;
    }

    public double getW() {
        return w;
    }

    public void setW(double w) {
        this.w = w;
    }
}
